﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Rj_GsInsurance.Server.Repositories
{
    public interface IRepository<T>
        where T:DbSet<T>
    {
        public IEnumerable<T> QueryByExample(Func<T,bool> example);
    }
}
